/**
 * @project readnote
 * @Title Book.java
 * @author huxh
 * @date 2012-2-12
 **/
package com.readnote.book.model;

import java.util.Date;

import com.cr.backbone.hibenate.Model;
import com.readnote.user.model.User;

public class UserNote extends Model {
	private static final long serialVersionUID = -5450567167329631927L;
	public UserNote() {
	}

	public UserNote(Long id) {
		super(id);
	}

	private Book book;//书籍
	private UserBook userBook;// 用户书籍
	private User user;// 用户
	private String title;//简称、别名
	private Integer pageNumber;//页码
	private String content;//笔记
	
	private Date createDate;//创建时间
	private Date updateDate;//更新时间
	
	
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public UserBook getUserBook() {
		return userBook;
	}

	public void setUserBook(UserBook userBook) {
		this.userBook = userBook;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}
	
	
}
